home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / pc / sample code / quicktime / all java / quicktime for java / jisapplet / readme.txt < prev    next >
Encoding:
Text File  |  2000-06-23  |  3.1 KB  |  58 lines

  1. =============================================================================
  2. QuickTime for Java SDK                              Updated: 30 November 1998
  3.  
  4. Read Me Notes to "QTSimple Applet" Demo and Sample Code
  5.  
  6. =============================================================================
  7. This demo program shows how to display any QuickTime content within a java.awt.Applet where the content is read using a java.io.InputStream
  8.  
  9. =============================================================================
  10. The minimum runtime requirements for this Sample Code are:
  11.  
  12. - Common
  13.     - Sun Compliant Java Runtime Environment 1.1
  14.     - QuickTime 3 
  15.     - QTJava.zip
  16.     - An Applet viewer - Apple Applet Runner or the sun appletviewer
  17.     
  18. - MacOS:
  19.     - System 8 or later
  20.     - Macintosh Runtime for Java (MRJ) 2.1
  21.  
  22. - Windows 95, 98, or NT::
  23.     - JRE/JDK from Sun Microsystems, Inc. recommended
  24.  
  25. =============================================================================
  26. Media requirements for this Sample Code are found in the classes directory where the HTML and class files are located:
  27.  
  28. (1) crossfad.gif
  29.  
  30. =============================================================================
  31. Notes & Comments
  32.  
  33. test.html is for use with this code - it will expect to find the AppletTag.js when run in a browser
  34.  
  35. See the SimpleApplet for description on the usage of the applet methods.
  36.  
  37. This is a demonstration of using the QTFactory.makeDrawable methods from a java.ioi.InputStream.
  38.  
  39. If you have a file then that is the preferred way of using the QTFactory as the file itself can be used to guide the importers in the correct selection and identification of the contained media format. However if you don't then you can use the InputStream as the source data. 
  40.  
  41. The input stream should have originated as a file at some point in its history. You need to describe the standard file extension as a guide to the importer to enable it to select the appropriate importer for the bytes that are read in from the stream. Some file formats are not able to be determined without this information. The imported data will be loaded into memory (first a byte array) and then copied into a QTHandle so this can be a quite expensive operation (in terms of memory used) for large media sources.
  42.  
  43. This code can be used to read media content that is transported within a zip archive. QuickTime (like Java itself) had no direct means of opening a file that is contained within a zip file.
  44.  
  45. =============================================================================
  46. General Comments
  47.  
  48. - QTSession.open and close:
  49.  
  50. A QTSession.open will perform a gestalt check to ensure that QuickTime is present and is initialized. This is a required call before any QuickTime Java classes can be used - it is called first in the init() method
  51.  
  52. It is necessary for programs to call QTSession.close if they have previously called QTSession.open in order to shut down QuickTime properly - it is called in the destroy() method
  53.  
  54. =============================================================================
  55.  
  56. QuickTime and QuickTime for Java are trademarks of Apple Computer, Inc.
  57. (c) 1998 Apple Computer Inc. All rights reserved.
  58.